<template>

  <div>
    <el-menu
        style="width: 200px; min-height: 100vh; background-color: white;"
        :default-active="path"
        router
        class="el-menu-vertical-demo"

    >
      <el-sub-menu index="1">
        <template #title><b>商品管理</b></template>
        <el-menu-item index="/ProductManager">商品信息</el-menu-item>
      </el-sub-menu>
      <el-sub-menu index="2">
        <template #title><b>订单管理</b></template>
        <el-menu-item index="/OrderManager">订单处理</el-menu-item>
      </el-sub-menu>
      <el-sub-menu index="3">
        <template #title><b>财务管理</b></template>
        <el-menu-item index="/FinancialManager">财务详情</el-menu-item>
      </el-sub-menu>
      <el-sub-menu index="3">
        <template #title><b>商家个人信息</b></template>
        <el-menu-item index="/TraderManager">商家信息设置</el-menu-item>
      </el-sub-menu>





    </el-menu>
  </div>
</template>
<script>
export default {
  name: "Aside",
  data() {
    return {
      path: this.$route.path //设置菜单栏高亮
    }
  }
}
</script>
<style scoped>


</style>
